package com.aiti.lulian.dto;

import com.aiti.base.core.base.dto.PageDto;
import com.aiti.lulian.entity.CorporateStrengthPic;
import com.aiti.lulian.entity.LuLianOfferAttachment;
import com.aiti.lulian.entity.LuLianOfferGoods;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @ClassName LuLianOfferDto
 * @Description LuLianOfferDto对象
 * @Author WongMZ
 * @Date 2024/7/3 16:02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "LuLianOfferDto对象", description = "LuLianOfferDto对象")
public class LuLianOfferDto extends PageDto {
    @ApiModelProperty("主键")
    private String baseId;

    @ApiModelProperty("供需商ID")
    private String sourcingId;

    @ApiModelProperty("询价单ID")
    private String sourcingOrderId;

    @ApiModelProperty("询价单标题")
    private String sourcingOrderName;

    @ApiModelProperty("买家名称")
    private String buyerName;

    @ApiModelProperty("询价单报名截止日期类型:1、长期有效，2、自定义时间")
    private String sourcingOrderDeadlineType;

    @ApiModelProperty("询价单报名截止日期")
    private Date sourcingOrderDeadline;

    @ApiModelProperty("是否进行在有效期内的查询")
    private String isValid;

    @ApiModelProperty("报价用户ID")
    private String offerUserId;

    @ApiModelProperty("生产周期")
    private String productionCycle;

    @ApiModelProperty("交货期")
    private String deliveryCycle;

    @ApiModelProperty("联系人")
    private String linkMan;

    @ApiModelProperty("联系人方式")
    private String linkPhone;

    @ApiModelProperty("物料附件")
    private String file;

    @ApiModelProperty("运费")
    private BigDecimal freight;

    @ApiModelProperty("总计")
    private BigDecimal totalMoney;

    @ApiModelProperty("创建日期")
    private Date baseCreateTime;

    @ApiModelProperty("修改日期")
    private Date baseUpdateTime;

    @ApiModelProperty("创建者")
    private String creator;

    @ApiModelProperty("修改者")
    private String updateBy;

    @ApiModelProperty("起始日期")
    private String startTime;

    @ApiModelProperty("结束日期")
    private String endTime;

    @ApiModelProperty("报价状态，0：已报价，1：已撤回，2：被退回")
    private String offerStatus;

    @ApiModelProperty("中标状态，0：未中标，1：已中标")
    private String isWin;

    private List<LuLianOfferAttachment> fileList;

    private List<LuLianOfferGoods> goodsOfferList;

    @ApiModelProperty("当前登录人的用户ID")
    private String userId;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("企业名称")
    private String enterpriseName;

    @ApiModelProperty("营业执照")
    private String businessLicense;

    @ApiModelProperty("报价金额（单价）")
    private BigDecimal quotationAmount;

    /**
     * 企业实力
     */
    @TableField(exist = false)
    private List<CorporateStrengthPic> corporateStrength;
}
